package com.luo.dao;

import com.luo.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author Zoro
 * @date 2021年08月30
 */
public interface OrderDao {
    public abstract List<Order> getOrderList(Order order);

    public abstract void addOrder(Order order);

    public abstract Map findBasicById(Integer id);

    public abstract Integer todayOrderNumber(String today);

    public abstract Integer todayVisitsNumber(String today);

    public abstract Integer startEndSelectYes(@Param("start") String weekMonday, @Param("end") String weekSunday);

    public abstract Integer startEndSelectNo(@Param("start") String weekMonday, @Param("end") String weekSunday);

    public abstract List<Map<String, Object>> hotSetMeal();
}
